//
//  UIImage+category.h
//  ios-loan
//
//  Created by guoqingping on 2017/12/22.
//  Copyright © 2017年 hxhg. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (category)
+(UIImage *)imageWithColor:(UIColor *)maskColor;

+(UIImage *)imageWithColor:(UIColor *)maskColor size:(CGSize)size;

//生成圆形图
- (void)roundImageWithSize:(CGSize)size fillColor:(UIColor *)fillColor opaque:(BOOL)opaque completion:(void (^)(UIImage *))completion;

//边缘不拉伸，防止变形
+(UIImage*)resizeImageWithCenterMethod:(NSString*)name;


////icon占位图
//+(UIImage *)placeHodlerImage;

@end
